<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数组的截取</title>
</head>

<body>

</body>

</html>
<script>
    let arr0 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
    window.console.log(arr0);
    let arr1 = arr0.slice(3, 7);
    window.console.log(arr1);
    window.console.log(arr0);
</script>